package demo.server.model;

import java.util.LinkedList;

public class QueueModel extends LinkedList<String>{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Override
	public synchronized void addLast(String e) {
		super.addLast(e);
	}
	
	@Override
	public synchronized String getFirst() {
		return super.getFirst();
	}
	
	@Override
	public synchronized int size() {
		return super.size();
	}
	
	@Override
	public synchronized String removeFirst() {
		return super.removeFirst();
	}
}
